<div class="company_info">
<?
    Principio_Library_Common::printErrorsAndMsg();
?>
    <div class="company_info_item">
        <div class="subtitle">
            Global Template:
        </div>
    <div>
        <textarea name="global_template" id="global_template"><?=$this->model_company->getGlobalTemplate() ?></textarea>
    </div>
    <div class = "company_info_item">
	    <div class = "subtitle">
	        Template for each line:
        </div>
        <div>
		    <textarea name="ext_template" id="ext_template"><?=$this->model_company->getExtTemplate() ?></textarea>
		</div>
	</div>
	<table border="0" width="100%" class="buttons">
        <tr>
            <td align="right">
                <input class="save" type="submit" name="apply" value="Apply changes" onClick="ajaxViewByCompany({id: <?=$this->model_company->getID() ?>, action: '<?=$this->action ?>', container: 'container', no_refresh: true})">
		        <input class="cancel" type="submit" name="reset" value="Reset" onClick="ajaxViewByCompany({id: <?=$this->model_company->getID() ?>, action: 'customize', container: 'container', no_refresh: true}); return false;">
            </td>
        </tr>
    </table>
</div>